Skip to content

Conversation

dmaduzia
Copy link
Contributor

@dmaduzia dmaduzia commented Oct 7, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings October 7, 2025 16:06
Copy link

coderabbitai bot commented Oct 7, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/footer-b-light

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@valueadd-robot
Copy link

PR is detected, will deploy to dev environment

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the footer layout and navigation structure by moving partner displays from home page to footer, redesigning footer layout with responsive grid system, and reorganizing navigation components with new input patterns.

  • Moved partner listings from home page to footer with new responsive layout
  • Redesigned footer to use grid-based layout with logo, navigation, and partners sections
  • Refactored navigation components to use input-based nav items instead of hardcoded arrays

Reviewed Changes

Copilot reviewed 16 out of 19 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
libs/shared/assets/src/lib/styles/main.scss Updated footer background color to lighter shade
libs/blog/shell/feature-shell-web/src/lib/root-shell.component.ts Added theme input to footer component
libs/blog/partners/ui-partners/src/lib/partners/partners.component.html Simplified styling for transparent background
libs/blog/partners/ui-partners/src/lib/partners-list/partners-list.component.html Reduced partner logo size and simplified layout
libs/blog/layouts/ui-navigation/src/lib/navigation/navigation.component.ts Refactored to use input-based nav items with grid layout support
libs/blog/layouts/ui-navigation/src/lib/navigation/navigation.component.html Updated template to use new grid classes and input nav items
libs/blog/layouts/ui-layouts/src/lib/header/header.component.ts Added nav items array for header navigation
libs/blog/layouts/ui-layouts/src/lib/header/components/header-mobile-menu.component.ts Added nav items array for mobile menu
libs/blog/layouts/ui-layouts/src/lib/footer/footer.component.ts Added comprehensive footer with navigation, partners, and responsive layout
libs/blog/layouts/ui-layouts/src/lib/footer/footer.component.scss Implemented responsive grid layout for footer sections
libs/blog/layouts/ui-layouts/src/lib/footer/footer.component.html Created new footer template with logo, navigation, and partners
libs/blog/layouts/ui-layouts/src/lib/footer/components/footer-social-media-icons.component.ts Removed heading from social media icons
libs/blog/home/feature-home/src/lib/home-page/home-page.component.ts Removed partner-related imports and properties
libs/blog/home/feature-home/src/lib/home-page/home-page.component.html Removed partner components from home page
apps/blog/src/assets/i18n/pl.json Moved partner translations to footer section
apps/blog/src/assets/i18n/en.json Moved partner translations to footer section and added new nav items

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

<al-navigation
[navItems]="navItems"
(navigated)="closed.emit()"
layout="vertical"
Copy link
Preview

Copilot AI Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The layout property is being passed to the navigation component but this property was removed in the refactored NavigationComponent. This will cause a template error.

Suggested change
layout="vertical"

Copilot uses AI. Check for mistakes.

const classes: string[] = ['grid'];

if (this.cols()) {
classes.push(`grid-cols-${this.cols()}`);
Copy link
Preview

Copilot AI Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dynamic CSS class generation may not work properly with Tailwind CSS purging. Consider using a predefined mapping of valid grid classes or ensure these dynamic classes are included in the safelist.

Copilot uses AI. Check for mistakes.

}

if (this.rows()) {
classes.push(`grid-rows-${this.rows()}`);
Copy link
Preview

Copilot AI Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dynamic CSS class generation may not work properly with Tailwind CSS purging. Consider using a predefined mapping of valid grid classes or ensure these dynamic classes are included in the safelist.

Copilot uses AI. Check for mistakes.

Comment on lines 86 to +106
export class HeaderComponent {
readonly navItems: NavItem[] = [
{
translationPath: 'nav.guides',
link: ['guides'],
dataTestId: 'navigation-guides',
},
{
translationPath: 'nav.news',
link: ['news'],
dataTestId: 'navigation-news',
},
{
translationPath: 'nav.meetups',
link: ['https://meetup.angular.love/'],
externalLink: true,
dataTestId: 'navigation-meetups',
},
];

Copy link
Preview

Copilot AI Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same navigation items array is duplicated in both HeaderComponent and HeaderMobileMenuComponent. Consider extracting this to a shared constant or service to avoid duplication.

Suggested change
export class HeaderComponent {
readonly navItems: NavItem[] = [
{
translationPath: 'nav.guides',
link: ['guides'],
dataTestId: 'navigation-guides',
},
{
translationPath: 'nav.news',
link: ['news'],
dataTestId: 'navigation-news',
},
{
translationPath: 'nav.meetups',
link: ['https://meetup.angular.love/'],
externalLink: true,
dataTestId: 'navigation-meetups',
},
];
export const NAV_ITEMS: NavItem[] = [
{
translationPath: 'nav.guides',
link: ['guides'],
dataTestId: 'navigation-guides',
},
{
translationPath: 'nav.news',
link: ['news'],
dataTestId: 'navigation-news',
},
{
translationPath: 'nav.meetups',
link: ['https://meetup.angular.love/'],
externalLink: true,
dataTestId: 'navigation-meetups',
},
];
export class HeaderComponent {
readonly navItems: NavItem[] = NAV_ITEMS;

Copilot uses AI. Check for mistakes.

@valueadd-robot
Copy link

Deployed to dev environment
Branch: feature/footer-b-light
BFF URL: https://e2e90fed-blog-bff-dev.contact-ef8.workers.dev
Deploy URL: https://e8b5359b.angular-love-client.pages.dev
Alias URL: https://feature-footer-b-light.angular-love-client.pages.dev

@valueadd-robot
Copy link

PR is detected, will deploy to dev environment

@valueadd-robot
Copy link

Deployed to dev environment
Branch: feature/footer-b-light
BFF URL: https://d66f2fc1-blog-bff-dev.contact-ef8.workers.dev
Deploy URL: https://d34a8f39.angular-love-client.pages.dev
Alias URL: https://feature-footer-b-light.angular-love-client.pages.dev

@dmaduzia dmaduzia marked this pull request as draft October 7, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants